﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ckplayer</title>
</head>
<body>
<div id="a1"></div>
<script type="text/javascript" src="http://127.0.0.1/maccms/player/ckplayer/ckplayer.js" charset="utf-8"></script>
<script type="text/javascript">
var url = window.parent.frames.MacPlayer.PlayUrl;
var h =   window.parent.frames.MacPlayer.Height;
var flashvars={
f:url,         //视频地址
c:0,           //是否读取文本配置,0不是，1是
p:1,           //是否自动播放 0不是，1是
e:5,           //视频结束后的动作
d:"http://www.ckplayer.com/down/pause6.1_1.swf", //暂停时播放的广告
u:"",                                            //暂停时如果是图片的话，加个链接地址
l:"http://www.ckplayer.com/down/adv6.1_1.swf",   //前置广告
r:"",                                            //暂停时如果是图片的话，加个链接地址
t:10                                             //前置广告时间
};
var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always',wmode:'transparent'};
CKobject.embedSWF('http://127.0.0.1/maccms/player/ckplayer/ckplayer.swf','a1','ckplayer_a1','100%',h,flashvars,params);
var support=['iPad','iPhone','ios','android+false','msie10+false'];
var video=[url+'->video/mp4'];
CKobject.embedHTML5('a1','ckplayer_a1','100%',h,video,flashvars,support);
</script>
</script>
</body>
</html>